#ifndef SD_SPI_H
#define SD_SPI_H
#include <avr/io.h>
// This code is from http://www.societyofrobots.com/robotforum/index.php?topic=7231.0

//setup pins
#define      MISO         PB3
#define      MOSI         PB2
#define      SCK         PB1
#define      SS         PB0

spi_init(void);

unsigned char spi_transfer(unsigned char data);

#endif
